package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/14 14:31
 */
@Entity
@Table(name = "op_settlement_payment")
public class OpSettlementPayment extends BaseEntity{
    @Id
    private String code;//结算支付PK [CODE, VARCHAR2, 32]
    private String settlementCode;//结算编码;每次收费流水号 [SETTLEMENT_CODE, VARCHAR2, 32]
    private String payType;//支付类别; 1收费 2退费 [PAY_TYPE, VARCHAR2, 1]
    private String payTypeCode;//支付类型;PUB_PAY_TYPE（支付方式表） [PAY_TYPE_CODE, VARCHAR2, 32]
    private BigDecimal payMoney;//支付金额 [PAY_MONEY, NUMBER, 14.4]
    private String createUser;//创建人;操作员 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间;支付时间 [CREATE_TIME, DATE, 7]

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSettlementCode() {
        return settlementCode;
    }

    public void setSettlementCode(String settlementCode) {
        this.settlementCode = settlementCode;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayTypeCode() {
        return payTypeCode;
    }

    public void setPayTypeCode(String payTypeCode) {
        this.payTypeCode = payTypeCode;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
